
<?php if (isset($info['case']) && !empty($info['case'])):?>
    <?php if (is_array($info['case'])):?>
        <?php foreach ($info['case'] as $k=>$item):?>
            <?php if (is_numeric($k)):?>
                <div class="site-title">
                    <fieldset><legend><a name="other">返回结果</a></legend></fieldset>
                </div>
                <div class="site-text">
                    <p>返回格式:JSON</p>
                </div>
                <div class="site-text">
                    <blockquote class="layui-elem-quote">
                        <div class="json-hide" style="display: none"><?=$item?></div>
                        <pre class="json-show"></pre>
                    </blockquote>
                </div>
            <?php else:?>
                <div class="site-title">
                    <fieldset><legend><a name="other">返回结果：当字段<?=$k?></a></legend></fieldset>
                </div>
                <div class="site-text">
                    <p>返回格式:JSON</p>
                </div>
                <div class="site-text">
                    <blockquote class="layui-elem-quote">
                        <div class="json-hide" style="display: none"><?=$item?></div>
                        <pre class="json-show"></pre>
                    </blockquote>
                </div>
            <?php endif;?>
        <?php endforeach;?>
    <?php else:?>
        <div class="site-title">
            <fieldset><legend><a name="other">返回结果</a></legend></fieldset>
        </div>
        <div class="site-text">
            <p>返回格式:JSON</p>
        </div>
        <div class="site-text">
            <blockquote class="layui-elem-quote">
                <div class="json-hide" style="display: none"><?=$info['case']?></div>
                <pre class="json-show"></pre>
            </blockquote>
        </div>
    <?php endif;?>

<?php endif;?>
